testsuite: Remove a test that isn't valid with csd
authorMatthias Clasen <mclasen@redhat.com>
Sat, 5 Mar 2016 18:47:41 +0000 (13:47 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 5 Mar 2016 18:47:41 +0000 (13:47 -0500)
With csd, the allocation of the window will be larger than the
default size, since it includes borders and decorations. Just
remove this check.

testsuite/gtk/window.c

index c28b8a07ed43de0fd086b86ec6a7d1b4262df265..1b9ad996489cba647e1ff29cf932f05a310d6978 100644 (file)
@@ -88,9 +88,6 @@ test_default_size (void)
   g_assert_cmpint (w, ==, 300);
   g_assert_cmpint (h, ==, 300);
 
-  g_assert_cmpint (gtk_widget_get_allocated_width (window), ==, 300);
-  g_assert_cmpint (gtk_widget_get_allocated_height (window), ==, 300);
-
   g_assert_cmpint (gtk_widget_get_allocated_width (box), ==, 300);
   g_assert_cmpint (gtk_widget_get_allocated_height (box), ==, 300);